Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.ecm.poll.scheduler--schedule

This contribution is part of XML component org.nuxeo.ecm.poll.scheduler inside nuxeo-poll-core-5.8.jar

Extension Point

Extension point schedule of component org.nuxeo.ecm.platform.scheduler.core.service.SchedulerRegistryService

Contributed Items

  • <schedule id="updatePollStatus">
          <eventId>updatePollsStatus</eventId>
          <eventCategory>default</eventCategory>
    
    	    <!-- check each day at 2am -->
          <cronExpression>0 0 2 * * ?</cronExpression>
    
          <!-- used for test check every minute -->
          <!-- <cronExpression>0 0-59 * * * ?</cronExpression> -->
        </schedule>
    schedule updatePollStatus

XML Source

<extension point="schedule" target="org.nuxeo.ecm.platform.scheduler.core.service.SchedulerRegistryService">

    <schedule id="updatePollStatus">
      <eventId>updatePollsStatus</eventId>
      <eventCategory>default</eventCategory>

	    <!-- check each day at 2am -->
      <cronExpression>0 0 2 * * ?</cronExpression>

      <!-- used for test check every minute -->
      <!-- <cronExpression>0 0-59 * * * ?</cronExpression> -->
    </schedule>

  </extension>